{include file="header.tpl"}

	{foreach item=p from=$practice}{/foreach}
	{foreach item=c from=$company} {/foreach}
	{foreach item=pe from=$person} {/foreach}

{if isset($info)}
	<div class="info">
		{$info}
	</div>
{/if}	

<h3>Praktyka w firmie {$company.name}</h3>

<table>
	<tr>
		<td>Data dodania</td>
		<td>{$p.add_date}</td>
	</tr>
	<tr>
		<td>Od</td>
		<td>{$p.date_start}</td>
	</tr>
	<tr>
		<td>Do</td>
		<td>{$p.date_end}</td>
	</tr>
	<tr>
		<td>Liczba miejsc</td>
		<td>{$p.amount}</td>
	</tr>
	<tr>
		<td>Praktyka płatna</td>
		<td>{$p.paid}</td>
	</tr>
	<tr>
		<td>Zakres obowiązków</td>
		<td>{$p.duties}</td>
	</tr>
	<tr>
		<td>Wymagania</td>
		<td>{$p.requirements}</td>
	</tr>
	<tr>
		<td>Technologie</td>
		<td>{$p.technology}</td>
	</tr>
</table>
<form method="post" action="practice_details.php?id={$practice.id}">
	<input type="hidden" id="practice_id" name="practice_id" value="{$p.id}"/>
	<input type="submit" class="button" value="Wybierz" id="send" name="send"/>
</form>
{include file="footer.tpl"}